package com.ch08.controller.vo;

/**
 * @ClassName ResultVO
 * @Description 响应封装类
 * @Author Kx
 * @Date 2025/5/13 11:17
 * @Version 1.0
 */
public class ResultVO<T> {
    private Integer code; // 响应码
    private String message; // 响应信息
    private T data; // 响应数据

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
